<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>JSON Voorhees: jsonv/config.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script src="http://www.mathjax.org/mathjax/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">JSON Voorhees
   </div>
   <div id="projectbrief">Killer JSON for C++</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('config_8hpp.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">config.hpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Copyright (c) 2014-2016 by Travis Gockel.  
<a href="#details">More...</a></p>

<p><a href="config_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a822f2ca9bad80a444b4fd28841a40ad7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a822f2ca9bad80a444b4fd28841a40ad7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>JSONV_VERSION_MAJOR</b>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a822f2ca9bad80a444b4fd28841a40ad7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8cf388cbd2b5c601a833093ce43794d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af8cf388cbd2b5c601a833093ce43794d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>JSONV_VERSION_MINOR</b>&#160;&#160;&#160;2</td></tr>
<tr class="separator:af8cf388cbd2b5c601a833093ce43794d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada887615bab8b7bbaba41cb5474eebb1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ada887615bab8b7bbaba41cb5474eebb1"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>JSONV_VERSION_PATCH</b>&#160;&#160;&#160;0</td></tr>
<tr class="separator:ada887615bab8b7bbaba41cb5474eebb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e48d3042507b7ce77a3e3d580cc9f02"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hpp.html#a0e48d3042507b7ce77a3e3d580cc9f02">JSONV_DEBUG</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:a0e48d3042507b7ce77a3e3d580cc9f02"><td class="mdescLeft">&#160;</td><td class="mdescRight">Was JSON Voorhees compiled in debug mode? This value must be the same between when the SO was built and when you are compiling.  <a href="#a0e48d3042507b7ce77a3e3d580cc9f02">More...</a><br /></td></tr>
<tr class="separator:a0e48d3042507b7ce77a3e3d580cc9f02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58dc2b5727768f0a5b79e0a0b8ff1d25"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a58dc2b5727768f0a5b79e0a0b8ff1d25"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hpp.html#a58dc2b5727768f0a5b79e0a0b8ff1d25">JSONV_SO</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:a58dc2b5727768f0a5b79e0a0b8ff1d25"><td class="mdescLeft">&#160;</td><td class="mdescRight">Are you using shared objects (DLLs in Windows)? <br /></td></tr>
<tr class="separator:a58dc2b5727768f0a5b79e0a0b8ff1d25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e9d7c4d5906433298b398c2d051e7f3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hpp.html#a8e9d7c4d5906433298b398c2d051e7f3">JSONV_COMPILING</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:a8e9d7c4d5906433298b398c2d051e7f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is JSON Voorhees currently compiling? You probably do not want to set this by hand.  <a href="#a8e9d7c4d5906433298b398c2d051e7f3">More...</a><br /></td></tr>
<tr class="separator:a8e9d7c4d5906433298b398c2d051e7f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd0703012bd724b356c177b7bc3d761d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a>&#160;&#160;&#160;JSONV_IMPORT</td></tr>
<tr class="memdesc:acd0703012bd724b356c177b7bc3d761d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function or class is part of the public API for JsonVoorhees.  <a href="#acd0703012bd724b356c177b7bc3d761d">More...</a><br /></td></tr>
<tr class="separator:acd0703012bd724b356c177b7bc3d761d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2faaa50c0935f9bcfa2e115a0f92b2a0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hpp.html#a2faaa50c0935f9bcfa2e115a0f92b2a0">JSONV_LOCAL</a>&#160;&#160;&#160;JSONV_HIDDEN</td></tr>
<tr class="memdesc:a2faaa50c0935f9bcfa2e115a0f92b2a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function or class is internal-use only.  <a href="#a2faaa50c0935f9bcfa2e115a0f92b2a0">More...</a><br /></td></tr>
<tr class="separator:a2faaa50c0935f9bcfa2e115a0f92b2a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7020e97cfeefd77fd7ad1d70f315dd49"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7020e97cfeefd77fd7ad1d70f315dd49"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hpp.html#a7020e97cfeefd77fd7ad1d70f315dd49">JSONV_UNUSED</a></td></tr>
<tr class="memdesc:a7020e97cfeefd77fd7ad1d70f315dd49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Note that you know the variable is unused, but make the compiler stop complaining about it. <br /></td></tr>
<tr class="separator:a7020e97cfeefd77fd7ad1d70f315dd49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ffbd77493ad44ecbe4d913e43a0c2f0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5ffbd77493ad44ecbe4d913e43a0c2f0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hpp.html#a5ffbd77493ad44ecbe4d913e43a0c2f0">JSONV_NO_RETURN</a></td></tr>
<tr class="memdesc:a5ffbd77493ad44ecbe4d913e43a0c2f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mark that a given function will never return control to the caller, either by exiting or throwing an exception. <br /></td></tr>
<tr class="separator:a5ffbd77493ad44ecbe4d913e43a0c2f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae938237d8a45efd2ad056a08c99bb1a5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae938237d8a45efd2ad056a08c99bb1a5"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hpp.html#ae938237d8a45efd2ad056a08c99bb1a5">JSONV_ALWAYS_INLINE</a></td></tr>
<tr class="memdesc:ae938237d8a45efd2ad056a08c99bb1a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Always inline the function this decorates, no matter what the compiler might think is best. <br /></td></tr>
<tr class="separator:ae938237d8a45efd2ad056a08c99bb1a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa12a2d545e94053d3d0cfc63ecbbf828"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hpp.html#aa12a2d545e94053d3d0cfc63ecbbf828">JSONV_INTEGER_ALTERNATES_LIST</a>(item)</td></tr>
<tr class="memdesc:aa12a2d545e94053d3d0cfc63ecbbf828"><td class="mdescLeft">&#160;</td><td class="mdescRight">An item list of types to also consider as an integer.  <a href="#aa12a2d545e94053d3d0cfc63ecbbf828">More...</a><br /></td></tr>
<tr class="separator:aa12a2d545e94053d3d0cfc63ecbbf828"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8de2272ac6e7c4feb09012afe5fbb6d0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8de2272ac6e7c4feb09012afe5fbb6d0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hpp.html#a8de2272ac6e7c4feb09012afe5fbb6d0">JSONV_COMPILER_SUPPORTS_TEMPLATE_TEMPLATES</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:a8de2272ac6e7c4feb09012afe5fbb6d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Does the compiler properly support template templates? Most compilers do, MSVC does not. <br /></td></tr>
<tr class="separator:a8de2272ac6e7c4feb09012afe5fbb6d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Copyright (c) 2014-2016 by Travis Gockel. </p>
<p>All rights reserved.</p>
<p>This program is free software: you can redistribute it and/or modify it under the terms of the Apache License as published by the Apache Software Foundation, either version 2 of the License, or (at your option) any later version.</p>
<dl class="section author"><dt>Author</dt><dd>Travis Gockel (<a href="#" onclick="location.href='mai'+'lto:'+'tra'+'vi'+'s@g'+'oc'+'kel'+'hu'+'t.c'+'om'; return false;">travi<span style="display: none;">.nosp@m.</span>s@go<span style="display: none;">.nosp@m.</span>ckelh<span style="display: none;">.nosp@m.</span>ut.c<span style="display: none;">.nosp@m.</span>om</a>) </dd></dl>

<p>Definition in file <a class="el" href="config_8hpp_source.html">config.hpp</a>.</p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a8e9d7c4d5906433298b398c2d051e7f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define JSONV_COMPILING&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Is JSON Voorhees currently compiling? You probably do not want to set this by hand. </p>
<p>It is set by the build system when the library is compiled. </p>

<p>Definition at line <a class="el" href="config_8hpp_source.html#l00052">52</a> of file <a class="el" href="config_8hpp_source.html">config.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0e48d3042507b7ce77a3e3d580cc9f02"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define JSONV_DEBUG&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Was JSON Voorhees compiled in debug mode? This value must be the same between when the SO was built and when you are compiling. </p>
<p>In general, this is not useful outside of library maintainers.</p>
<dl class="section warning"><dt>Warning</dt><dd>Keep in mind this value is <em>always</em> defined. Use <code>#if JSONV_DEBUG</code>, <em>not</em> <code>#ifdef JSONV_DEBUG</code>. </dd></dl>

<p>Definition at line <a class="el" href="config_8hpp_source.html#l00034">34</a> of file <a class="el" href="config_8hpp_source.html">config.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa12a2d545e94053d3d0cfc63ecbbf828"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define JSONV_INTEGER_ALTERNATES_LIST</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">item</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">item(<span class="keywordtype">int</span>)                              \</div>
<div class="line">        item(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>)                     \</div>
<div class="line">        item(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>)                    \</div>
<div class="line">        item(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span>)</div>
</div><!-- fragment -->
<p>An item list of types to also consider as an integer. </p>
<p>This mostly exists to help resolve the C-induced type ambiguity for the literal <code>0</code>. It most prefers to be an <code>int</code>, but might also become a <code>long</code> or a pointer type. </p>

<p>Definition at line <a class="el" href="config_8hpp_source.html#l00148">148</a> of file <a class="el" href="config_8hpp_source.html">config.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2faaa50c0935f9bcfa2e115a0f92b2a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define JSONV_LOCAL&#160;&#160;&#160;JSONV_HIDDEN</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function or class is internal-use only. </p>
<dl class="section see"><dt>See also</dt><dd>JSONV_HIDDEN </dd></dl>

<p>Definition at line <a class="el" href="config_8hpp_source.html#l00105">105</a> of file <a class="el" href="config_8hpp_source.html">config.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="acd0703012bd724b356c177b7bc3d761d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define JSONV_PUBLIC&#160;&#160;&#160;JSONV_IMPORT</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function or class is part of the public API for JsonVoorhees. </p>
<p>If you are including JsonVoorhees for another library, this will have import semantics (<code>JSONV_IMPORT</code>); if you are building JsonVoorhees, this will have export semantics (<code>JSONV_EXPORT</code>). </p>

<p>Definition at line <a class="el" href="config_8hpp_source.html#l00104">104</a> of file <a class="el" href="config_8hpp_source.html">config.hpp</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_10cd029e0034a3f98d221f50ebb6d9d4.html">jsonv</a></li><li class="navelem"><a class="el" href="config_8hpp.html">config.hpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.7 </li>
  </ul>
</div>
</body>
</html>
